%%% File    : dmtr_avalanche.hrl
%%% Author  :  <vvorobyov@WS24292>
%%% Description : Avalanche records.
%%% Created : 26 Nov 2008 by  <vvorobyov@WS24292>



-record(task,
	{
	  node=node(),
	  module=nomodule,
	  func,
	  args=[]
	 }).
-record(avalanche,
	{
	  sigma=fun(TaskResult,AccIn)->[TaskResult|AccIn]end,
	  final=fun(ResultAcc)->ResultAcc end,
	  tasks=[],
	  timeout=6000
	 }).
